#include "DeterministicServer.h"
#include "Server.h"
DeterministicServer::DeterministicServer(double intensity)
{
    this->intensity = intensity;
    this->freeTime = 0;
}

void DeterministicServer::Serve(double startTime)
{
    this->freeTime = startTime + 1 / intensity;
}

double DeterministicServer::FreeTime()
{
    return this->freeTime;
}
